<?php

class Announcement_Controller_Admincp_Index extends Nuo_Controller_Admincp
{

	function execute($request)
	{
		Nuo::setVar('breadcrum', array(
			'title' => 'Browse Announcement',
			'toolbar' => 'admincp/announcement'
		));

		$table = Nuo::getTable('announcement/post');

		$select = $table -> select();

		$paging = Nuo_Paging::factory($select);

		return  $this -> render(array('paging' => $paging));
	}

}
